from core.models.auth import AuthProvider

Internal = AuthProvider.objects.get(name='internal')
OpenId = AuthProvider.objects.get(name='openid')
Facebook = AuthProvider.objects.get(name='facebook')
Vkontakte = AuthProvider.objects.get(name='vkontakte')